package com.foreknow.springboot.service;

import com.foreknow.springboot.po.Business;
import org.apache.ibatis.annotations.Select;

import java.sql.SQLException;
import java.util.List;

public interface BusinessService {

    /**
     * 根据点餐分类编号查询所属商家信息
     * @param orderTypeId
     * @return
     */

    public List<Business> listBusinessByOrderTypeId(Integer orderTypeId);

    /**
     *根据商家编号查询商家信息
     * @param businessId
     * @return
     */

    public Business getBusinessId(Integer businessId);

}
